package com.gzr.generic.method;

public class MyGenericMethod {

    public static void main(String[] args) {

        String[] names = {"zhangsan","lisi","wangwu"};
        printArrat(names);

        Student[] student = new Student[3];
        printArrat(student);

        String max = getMax(names);
        getMax(student);

    }

    private static <T> void printArrat(T[] names){

    }

    private static <T> T getMax(T[] names) {
        return null;
    }

}

